package com.blb.ioc;

import org.springframework.stereotype.Component;

/**
 * 三星的内存
 */
@Component
public class SumsangMemory implements Memory{
    @Override
    public void read() {
        System.out.println("三星内存读数据");
    }

    @Override
    public void write() {
        System.out.println("三星内存写数据");
    }
}
